package com.example.springfortestspace.service;

import com.example.springfortestspace.dao.TestSpaceDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.datasource.DriverManagerDataSource;
import org.springframework.stereotype.Service;

import javax.sql.DataSource;
import java.sql.DriverManager;
import java.util.List;
import java.util.Map;

/**
 * @Auther：FKM
 * @Date：2024/6/1110:49
 */

@Service
public class DataBaseService {
    @Autowired
    TestSpaceDao testSpaceDao;

//    public List<Map<String, Object>> getAllTables() {
//        String query = "SHOW TABLES";
//        return testSpaceDao.quaryAllTable(query);
//    }




}
